/**
 * @USER: Administrator
 * @DATE: 2024/9/22 上午10:04
 * @VERSION: 1.0.0
 */
public class LC3024 {
    public static void main(String[] args) {

    }

    public String triangleType(int[] nums) {
        String[] strs = new String[]{"equilateral","isosceles","scalene","none"};
        if (nums[0]+nums[1]>nums[2] && nums[0]+nums[2]>nums[1] && nums[1]+nums[2]>nums[0]){
            if (nums[0]==nums[1] && nums[1]==nums[2]) {
                return strs[0];
            }else if (nums[0]==nums[1]||nums[0]==nums[2]||nums[1]==nums[2]) {
                return strs[1];
            }else{
                return strs[2];
            }
        }else {
            return strs[3];
        }

    }
}
